/**
 * <copyright>
 * </copyright>
 *
 * $Id$
 */
package com.googlecode.mailnet.emf.netmodel.impl;

import com.googlecode.mailnet.emf.netmodel.DistributionModel;
import com.googlecode.mailnet.emf.netmodel.LinkModel;
import com.googlecode.mailnet.emf.netmodel.MessageFlowModel;
import com.googlecode.mailnet.emf.netmodel.NetmodelFactory;
import com.googlecode.mailnet.emf.netmodel.NetmodelPackage;
import com.googlecode.mailnet.emf.netmodel.NetworkConfigurationModel;
import com.googlecode.mailnet.emf.netmodel.NodeModel;

import com.googlecode.mailnet.emf.netmodel.QueueModel;
import com.googlecode.mailnet.emf.netmodel.QueueingConfigurationModel;
import org.eclipse.emf.ecore.EAttribute;
import org.eclipse.emf.ecore.EClass;
import org.eclipse.emf.ecore.EPackage;
import org.eclipse.emf.ecore.EReference;

import org.eclipse.emf.ecore.impl.EPackageImpl;

/**
 * <!-- begin-user-doc -->
 * An implementation of the model <b>Package</b>.
 * <!-- end-user-doc -->
 * @generated
 */
public class NetmodelPackageImpl extends EPackageImpl implements NetmodelPackage {
	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private EClass nodeModelEClass = null;

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private EClass linkModelEClass = null;

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private EClass distributionModelEClass = null;

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private EClass networkConfigurationModelEClass = null;

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private EClass messageFlowModelEClass = null;

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private EClass queueModelEClass = null;

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private EClass queueingConfigurationModelEClass = null;

	/**
	 * Creates an instance of the model <b>Package</b>, registered with
	 * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package
	 * package URI value.
	 * <p>Note: the correct way to create the package is via the static
	 * factory method {@link #init init()}, which also performs
	 * initialization of the package, or returns the registered package,
	 * if one already exists.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see org.eclipse.emf.ecore.EPackage.Registry
	 * @see com.googlecode.mailnet.emf.netmodel.NetmodelPackage#eNS_URI
	 * @see #init()
	 * @generated
	 */
	private NetmodelPackageImpl() {
		super(eNS_URI, NetmodelFactory.eINSTANCE);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private static boolean isInited = false;

	/**
	 * Creates, registers, and initializes the <b>Package</b> for this
	 * model, and for any others upon which it depends.  Simple
	 * dependencies are satisfied by calling this method on all
	 * dependent packages before doing anything else.  This method drives
	 * initialization for interdependent packages directly, in parallel
	 * with this package, itself.
	 * <p>Of this package and its interdependencies, all packages which
	 * have not yet been registered by their URI values are first created
	 * and registered.  The packages are then initialized in two steps:
	 * meta-model objects for all of the packages are created before any
	 * are initialized, since one package's meta-model objects may refer to
	 * those of another.
	 * <p>Invocation of this method will not affect any packages that have
	 * already been initialized.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #eNS_URI
	 * @see #createPackageContents()
	 * @see #initializePackageContents()
	 * @generated
	 */
	public static NetmodelPackage init() {
		if (isInited) return (NetmodelPackage)EPackage.Registry.INSTANCE.getEPackage(NetmodelPackage.eNS_URI);

		// Obtain or create and register package
		NetmodelPackageImpl theNetmodelPackage = (NetmodelPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(eNS_URI) instanceof NetmodelPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(eNS_URI) : new NetmodelPackageImpl());

		isInited = true;

		// Create package meta-data objects
		theNetmodelPackage.createPackageContents();

		// Initialize created meta-data
		theNetmodelPackage.initializePackageContents();

		// Mark meta-data to indicate it can't be changed
		theNetmodelPackage.freeze();

		return theNetmodelPackage;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EClass getNodeModel() {
		return nodeModelEClass;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EAttribute getNodeModel_FailureProbability() {
		return (EAttribute)nodeModelEClass.getEStructuralFeatures().get(0);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EReference getNodeModel_FailureDurationDistribution() {
		return (EReference)nodeModelEClass.getEStructuralFeatures().get(1);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EAttribute getNodeModel_Name() {
		return (EAttribute)nodeModelEClass.getEStructuralFeatures().get(2);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EClass getLinkModel() {
		return linkModelEClass;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EReference getLinkModel_Source() {
		return (EReference)linkModelEClass.getEStructuralFeatures().get(0);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EReference getLinkModel_Destination() {
		return (EReference)linkModelEClass.getEStructuralFeatures().get(1);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EReference getLinkModel_CapacityDistribution() {
		return (EReference)linkModelEClass.getEStructuralFeatures().get(2);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EAttribute getLinkModel_PackageCorruptionProbability() {
		return (EAttribute)linkModelEClass.getEStructuralFeatures().get(3);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EAttribute getLinkModel_Delay() {
		return (EAttribute)linkModelEClass.getEStructuralFeatures().get(4);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EAttribute getLinkModel_FailureProbability() {
		return (EAttribute)linkModelEClass.getEStructuralFeatures().get(5);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EReference getLinkModel_FailureDurationDistribution() {
		return (EReference)linkModelEClass.getEStructuralFeatures().get(6);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EAttribute getLinkModel_Name() {
		return (EAttribute)linkModelEClass.getEStructuralFeatures().get(7);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EClass getDistributionModel() {
		return distributionModelEClass;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EAttribute getDistributionModel_Value() {
		return (EAttribute)distributionModelEClass.getEStructuralFeatures().get(0);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EAttribute getDistributionModel_Name() {
		return (EAttribute)distributionModelEClass.getEStructuralFeatures().get(1);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EClass getNetworkConfigurationModel() {
		return networkConfigurationModelEClass;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EReference getNetworkConfigurationModel_Nodes() {
		return (EReference)networkConfigurationModelEClass.getEStructuralFeatures().get(0);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EReference getNetworkConfigurationModel_Links() {
		return (EReference)networkConfigurationModelEClass.getEStructuralFeatures().get(1);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EReference getNetworkConfigurationModel_Distributions() {
		return (EReference)networkConfigurationModelEClass.getEStructuralFeatures().get(2);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EReference getNetworkConfigurationModel_QueueConfiguration() {
		return (EReference)networkConfigurationModelEClass.getEStructuralFeatures().get(3);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EReference getNetworkConfigurationModel_MessageFlows() {
		return (EReference)networkConfigurationModelEClass.getEStructuralFeatures().get(4);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EClass getMessageFlowModel() {
		return messageFlowModelEClass;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EReference getMessageFlowModel_MessagesAmountDistribution() {
		return (EReference)messageFlowModelEClass.getEStructuralFeatures().get(0);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EReference getMessageFlowModel_MessageSizeDistribution() {
		return (EReference)messageFlowModelEClass.getEStructuralFeatures().get(1);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EAttribute getMessageFlowModel_MessagesPriority() {
		return (EAttribute)messageFlowModelEClass.getEStructuralFeatures().get(2);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EReference getMessageFlowModel_Route() {
		return (EReference)messageFlowModelEClass.getEStructuralFeatures().get(3);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EAttribute getMessageFlowModel_Name() {
		return (EAttribute)messageFlowModelEClass.getEStructuralFeatures().get(4);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EClass getQueueModel() {
		return queueModelEClass;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EAttribute getQueueModel_Weight() {
		return (EAttribute)queueModelEClass.getEStructuralFeatures().get(0);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EAttribute getQueueModel_Limit() {
		return (EAttribute)queueModelEClass.getEStructuralFeatures().get(1);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EAttribute getQueueModel_StrictlyPrioritized() {
		return (EAttribute)queueModelEClass.getEStructuralFeatures().get(2);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EClass getQueueingConfigurationModel() {
		return queueingConfigurationModelEClass;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EReference getQueueingConfigurationModel_Queues() {
		return (EReference)queueingConfigurationModelEClass.getEStructuralFeatures().get(0);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public NetmodelFactory getNetmodelFactory() {
		return (NetmodelFactory)getEFactoryInstance();
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private boolean isCreated = false;

	/**
	 * Creates the meta-model objects for the package.  This method is
	 * guarded to have no affect on any invocation but its first.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public void createPackageContents() {
		if (isCreated) return;
		isCreated = true;

		// Create classes and their features
		nodeModelEClass = createEClass(NODE_MODEL);
		createEAttribute(nodeModelEClass, NODE_MODEL__FAILURE_PROBABILITY);
		createEReference(nodeModelEClass, NODE_MODEL__FAILURE_DURATION_DISTRIBUTION);
		createEAttribute(nodeModelEClass, NODE_MODEL__NAME);

		linkModelEClass = createEClass(LINK_MODEL);
		createEReference(linkModelEClass, LINK_MODEL__SOURCE);
		createEReference(linkModelEClass, LINK_MODEL__DESTINATION);
		createEReference(linkModelEClass, LINK_MODEL__CAPACITY_DISTRIBUTION);
		createEAttribute(linkModelEClass, LINK_MODEL__PACKAGE_CORRUPTION_PROBABILITY);
		createEAttribute(linkModelEClass, LINK_MODEL__DELAY);
		createEAttribute(linkModelEClass, LINK_MODEL__FAILURE_PROBABILITY);
		createEReference(linkModelEClass, LINK_MODEL__FAILURE_DURATION_DISTRIBUTION);
		createEAttribute(linkModelEClass, LINK_MODEL__NAME);

		distributionModelEClass = createEClass(DISTRIBUTION_MODEL);
		createEAttribute(distributionModelEClass, DISTRIBUTION_MODEL__VALUE);
		createEAttribute(distributionModelEClass, DISTRIBUTION_MODEL__NAME);

		networkConfigurationModelEClass = createEClass(NETWORK_CONFIGURATION_MODEL);
		createEReference(networkConfigurationModelEClass, NETWORK_CONFIGURATION_MODEL__NODES);
		createEReference(networkConfigurationModelEClass, NETWORK_CONFIGURATION_MODEL__LINKS);
		createEReference(networkConfigurationModelEClass, NETWORK_CONFIGURATION_MODEL__DISTRIBUTIONS);
		createEReference(networkConfigurationModelEClass, NETWORK_CONFIGURATION_MODEL__QUEUE_CONFIGURATION);
		createEReference(networkConfigurationModelEClass, NETWORK_CONFIGURATION_MODEL__MESSAGE_FLOWS);

		messageFlowModelEClass = createEClass(MESSAGE_FLOW_MODEL);
		createEReference(messageFlowModelEClass, MESSAGE_FLOW_MODEL__MESSAGES_AMOUNT_DISTRIBUTION);
		createEReference(messageFlowModelEClass, MESSAGE_FLOW_MODEL__MESSAGE_SIZE_DISTRIBUTION);
		createEAttribute(messageFlowModelEClass, MESSAGE_FLOW_MODEL__MESSAGES_PRIORITY);
		createEReference(messageFlowModelEClass, MESSAGE_FLOW_MODEL__ROUTE);
		createEAttribute(messageFlowModelEClass, MESSAGE_FLOW_MODEL__NAME);

		queueModelEClass = createEClass(QUEUE_MODEL);
		createEAttribute(queueModelEClass, QUEUE_MODEL__WEIGHT);
		createEAttribute(queueModelEClass, QUEUE_MODEL__LIMIT);
		createEAttribute(queueModelEClass, QUEUE_MODEL__STRICTLY_PRIORITIZED);

		queueingConfigurationModelEClass = createEClass(QUEUEING_CONFIGURATION_MODEL);
		createEReference(queueingConfigurationModelEClass, QUEUEING_CONFIGURATION_MODEL__QUEUES);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private boolean isInitialized = false;

	/**
	 * Complete the initialization of the package and its meta-model.  This
	 * method is guarded to have no affect on any invocation but its first.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public void initializePackageContents() {
		if (isInitialized) return;
		isInitialized = true;

		// Initialize package
		setName(eNAME);
		setNsPrefix(eNS_PREFIX);
		setNsURI(eNS_URI);

		// Create type parameters

		// Set bounds for type parameters

		// Add supertypes to classes

		// Initialize classes and features; add operations and parameters
		initEClass(nodeModelEClass, NodeModel.class, "NodeModel", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
		initEAttribute(getNodeModel_FailureProbability(), ecorePackage.getEDouble(), "failureProbability", null, 1, 1, NodeModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
		initEReference(getNodeModel_FailureDurationDistribution(), this.getDistributionModel(), null, "failureDurationDistribution", null, 1, 1, NodeModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
		initEAttribute(getNodeModel_Name(), ecorePackage.getEString(), "name", null, 1, 1, NodeModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);

		initEClass(linkModelEClass, LinkModel.class, "LinkModel", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
		initEReference(getLinkModel_Source(), this.getNodeModel(), null, "source", null, 1, 1, LinkModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
		initEReference(getLinkModel_Destination(), this.getNodeModel(), null, "destination", null, 1, 1, LinkModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
		initEReference(getLinkModel_CapacityDistribution(), this.getDistributionModel(), null, "capacityDistribution", null, 1, 1, LinkModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
		initEAttribute(getLinkModel_PackageCorruptionProbability(), ecorePackage.getEDouble(), "packageCorruptionProbability", null, 1, 1, LinkModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
		initEAttribute(getLinkModel_Delay(), ecorePackage.getEInt(), "delay", null, 1, 1, LinkModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
		initEAttribute(getLinkModel_FailureProbability(), ecorePackage.getEDouble(), "failureProbability", null, 1, 1, LinkModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
		initEReference(getLinkModel_FailureDurationDistribution(), this.getDistributionModel(), null, "failureDurationDistribution", null, 1, 1, LinkModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
		initEAttribute(getLinkModel_Name(), ecorePackage.getEString(), "name", null, 1, 1, LinkModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);

		initEClass(distributionModelEClass, DistributionModel.class, "DistributionModel", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
		initEAttribute(getDistributionModel_Value(), ecorePackage.getEString(), "value", null, 1, 1, DistributionModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
		initEAttribute(getDistributionModel_Name(), ecorePackage.getEString(), "name", null, 0, 1, DistributionModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);

		initEClass(networkConfigurationModelEClass, NetworkConfigurationModel.class, "NetworkConfigurationModel", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
		initEReference(getNetworkConfigurationModel_Nodes(), this.getNodeModel(), null, "nodes", null, 0, -1, NetworkConfigurationModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
		initEReference(getNetworkConfigurationModel_Links(), this.getLinkModel(), null, "links", null, 0, -1, NetworkConfigurationModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
		initEReference(getNetworkConfigurationModel_Distributions(), this.getDistributionModel(), null, "distributions", null, 0, -1, NetworkConfigurationModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
		initEReference(getNetworkConfigurationModel_QueueConfiguration(), this.getQueueingConfigurationModel(), null, "queueConfiguration", null, 0, 1, NetworkConfigurationModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
		initEReference(getNetworkConfigurationModel_MessageFlows(), this.getMessageFlowModel(), null, "messageFlows", null, 0, -1, NetworkConfigurationModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);

		initEClass(messageFlowModelEClass, MessageFlowModel.class, "MessageFlowModel", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
		initEReference(getMessageFlowModel_MessagesAmountDistribution(), this.getDistributionModel(), null, "messagesAmountDistribution", null, 1, 1, MessageFlowModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
		initEReference(getMessageFlowModel_MessageSizeDistribution(), this.getDistributionModel(), null, "messageSizeDistribution", null, 1, 1, MessageFlowModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
		initEAttribute(getMessageFlowModel_MessagesPriority(), ecorePackage.getEInt(), "messagesPriority", null, 1, 1, MessageFlowModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
		initEReference(getMessageFlowModel_Route(), this.getLinkModel(), null, "route", null, 1, -1, MessageFlowModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
		initEAttribute(getMessageFlowModel_Name(), ecorePackage.getEString(), "name", null, 0, 1, MessageFlowModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);

		initEClass(queueModelEClass, QueueModel.class, "QueueModel", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
		initEAttribute(getQueueModel_Weight(), ecorePackage.getEInt(), "weight", null, 1, 1, QueueModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
		initEAttribute(getQueueModel_Limit(), ecorePackage.getEInt(), "limit", null, 1, 1, QueueModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
		initEAttribute(getQueueModel_StrictlyPrioritized(), ecorePackage.getEBoolean(), "strictlyPrioritized", "false", 1, 1, QueueModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);

		initEClass(queueingConfigurationModelEClass, QueueingConfigurationModel.class, "QueueingConfigurationModel", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
		initEReference(getQueueingConfigurationModel_Queues(), this.getQueueModel(), null, "queues", null, 0, -1, QueueingConfigurationModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);

		// Create resource
		createResource(eNS_URI);
	}

} //NetmodelPackageImpl
